package com.xxh.securitydemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxh.securitydemo.model.UmsMenu;

import java.util.List;

public interface UmsMenuDao extends BaseMapper<UmsMenu> {
    int deleteByPrimaryKey(Long id);

    int insert(UmsMenu record);

    int insertSelective(UmsMenu record);

    UmsMenu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UmsMenu record);

    int updateByPrimaryKey(UmsMenu record);

    List<UmsMenu> selectMenuByRoleID(int RoleID);
}